package cn.sangyy.org.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author SangYY
 * @date: 2023/05/23/17:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShopAdminDto {

    @NotBlank(message = "管理员名称不能为空！")
    private String username;
    @NotBlank(message = "管理员电话不能为空！")
    private String phone;
    @NotBlank(message = "管理员邮箱不能为空！")
    private String email;
    @NotBlank(message = "管理员密码不能为空！")
    private String password;
    @NotBlank(message = "管理员确认密码不能为空！")
    private String confirmPassword;
}
